package com.qf.talk.dao;

import com.qf.talk.model.UserFriendShipPolicy;
import com.qf.talk.model.UserFriendShipPolicyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserFriendShipPolicyDao {
    long countByExample(UserFriendShipPolicyExample example);

    int deleteByExample(UserFriendShipPolicyExample example);

    int deleteByPrimaryKey(Long id);

    int insert(UserFriendShipPolicy record);

    int insertSelective(UserFriendShipPolicy record);

    List<UserFriendShipPolicy> selectByExample(UserFriendShipPolicyExample example);

    UserFriendShipPolicy selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserFriendShipPolicy record, @Param("example") UserFriendShipPolicyExample example);

    int updateByExample(@Param("record") UserFriendShipPolicy record, @Param("example") UserFriendShipPolicyExample example);

    int updateByPrimaryKeySelective(UserFriendShipPolicy record);

    int updateByPrimaryKey(UserFriendShipPolicy record);
}